package com.linko.intelligent.base;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author xinyang xia
 * @create 2021/8/13 17:22
 */
public class UserInfo {

    /**
     * 主键id
     */
    private Long id;

    private Long del;

    /**
     * 创建人id
     */
    private Long creatorId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;

    /**
     * 电话
     */
    private String phone;


    /**
     * 绑定微信号
     */
    private String wechatNo;

    /**
     * 名字
     */
    private String name;

    /**
     * 性别
     */
    private Long gender;

    /**
     * 岗位id
     */
    private Long organizeId;

    /**
     * 头像
     */
    private String attachFace;

    /**
     * 角色
     */
    private List<String> roles;

    /**
     * 角色
     */
    private List<Long> roleIds;
    /**
     * web菜单权限
     */
    private List<String> webContentList;
    /**
     * app菜单权限
     */
    private List<String> appConterntList;
    /**
     * token
     */
    private String token;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDel() {
        return del;
    }

    public void setDel(Long del) {
        this.del = del;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWechatNo() {
        return wechatNo;
    }

    public void setWechatNo(String wechatNo) {
        this.wechatNo = wechatNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getGender() {
        return gender;
    }

    public void setGender(Long gender) {
        this.gender = gender;
    }

    public Long getOrganizeId() {
        return organizeId;
    }

    public void setOrganizeId(Long organizeId) {
        this.organizeId = organizeId;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<String> getWebContentList() {
        return webContentList;
    }

    public void setWebContentList(List<String> webContentList) {
        this.webContentList = webContentList;
    }

    public List<String> getAppConterntList() {
        return appConterntList;
    }

    public void setAppConterntList(List<String> appConterntList) {
        this.appConterntList = appConterntList;
    }

    public String getAttachFace() {
        return attachFace;
    }

    public void setAttachFace(String attachFace) {
        this.attachFace = attachFace;
    }
}
